package com.medical.data.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SavaFormVo {


    @NotBlank(message = "表单id不可为空")
    @ApiModelProperty(value = "表单id")
    private String id;

    @NotBlank(message = "表单名字不可为空")
    @ApiModelProperty(value = "表单名字")
    private String name;

    @ApiModelProperty(value = "模版描述")
    private String templateDesc;

    @NotBlank(message = "表单的类型不可为空")
    @ApiModelProperty(value = "表单的类型：0表示节点，1表示普通表单，2表示随访表单")
    private String type;

}
